package com.train.trainmanage.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.train.trainmanage.model.DepartmentModel;

@Mapper
public interface DepartmentModelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentModel record);

    int insertSelective(DepartmentModel record);

    DepartmentModel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DepartmentModel record);

    int updateByPrimaryKey(DepartmentModel record);
    
    List<DepartmentModel> allDepartmentList();
}